#include <iostream>
#include <stdio.h>

using namespace std;

int main() {
    int a,b,c;
    cin >> a >> b >> c;
    if(max(a,b) >= c){
        cout << max(a,b);
    }
    else{
        cout << c;
    }

    return 0;
}